#ifndef STDINREADER_H
#define STDINREADER_H

#include <QThread>
#include <QDebug>
#include <QTextStream>
#include <QFile>
#include <QStringList>

class StdInReader : public QThread
{
    Q_OBJECT

signals:
    void inputLine(QString inputLine);
    void onShow();
    void onHide();
    void onLoadFile(QString fileName);
    void onLoadPosAndSize(QString sPos,QString sSize);
    void onTitle(QString sTit);

public:
    explicit StdInReader(QObject *parent = 0);
    ~StdInReader();

protected:
    virtual void run();

};

#endif // STDINREADER_H
